package com.nari.ncps.screen.dto.excelimport.electric;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 燃料来源表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_electric_prodoper_fuel_from")
@Schema(name = "ElectricProdoperFuelFrom对象", description = "燃料来源表")
public class ElectricProdoperFuelFrom implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份(1-12)")
    @TableField("month")
    private Integer month;

    @Schema(description = "日期(1-31)")
    @TableField("day")
    private Integer day;

    @Schema(description = "计算日期")
    @TableField("record_date")
    private Date recordDate;

    @Schema(description = "煤炭来源量(万吨)")
    @TableField("coal_source_amount")
    private BigDecimal coalSourceAmount;

    @Schema(description = "煤炭来源矿类型:0-南矿,1-北矿,2-扎矿,3-二号矿,4-三号矿")
    @TableField("coal_mine_type")
    private Byte coalMineType;

    @Schema(description = "电厂单位编码")
    @TableField("power_plant_code")
    private String powerPlantCode;

    @Schema(description = "电厂单位名称")
    @TableField("power_plant_name")
    private String powerPlantName;

    @Schema(description = "创建时间")
    @TableField("created_at")
    private Date createdAt;

    @Schema(description = "创建人")
    @TableField("created_by")
    private String createdBy;

    @Schema(description = "更新时间")
    @TableField("updated_at")
    private Date updatedAt;

    @Schema(description = "更新人")
    @TableField("updated_by")
    private String updatedBy;
}
